<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <base href="<%=basePath%>" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>北大青鸟办公自动化管理系统</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />

</head>
  
  <body>
  <iframe src="head.jsp" width="100%" scrolling="no" frameborder="0" ></iframe>

  <div class="main"><div class="global-width">	
	  <iframe src="nav.jsp" scrolling="no" align="left" width="191px" height="400px"></iframe>
    <div class="action">
    	<div class="t">新邮件</div>
   		<div class="pages">
   			<form action="email1!doadd.action" method="post" enctype="multipart/form-data">
   				<table>
   					<tr>
   						<td>收件人</td>
                    	<td><s:select list="employees" listKey="name" listValue="name" name="email.usernameTo">                    		
                    	</s:select> </td>
                     </tr>
                     <tr></tr>
   					<tr>
   						<td>主题</td>
                    	<td><input type="text" name="email.title"/> </td>
                     </tr>
                     <tr>
   						<td>内容</td>
                    	<td><textarea rows="16" cols="80" name="email.content"></textarea>  </td>
                     </tr>
                     <tr>
   						<td>附件</td>
                    	<td><input type="file" name="attachment"/> </td>
                     </tr>
                     <tr>
   						<td colspan="2">
   							<input type="submit" value="提交"/>
   							<input type="reset" value="重置"/>
   						</td>                    	
                     </tr>
   				</table>   			
   			</form>   			
        </div>
    </div>
</div></div>
 <iframe src="footer.jsp" width="100%" scrolling="no" frameborder="0" ></iframe>
  </body>
</html>
